package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.FileManagementDao;
import io.renren.entity.FileManagementEntity;
import io.renren.service.FileManagementService;



@Service("fileManagementService")
public class FileManagementServiceImpl implements FileManagementService {
	@Autowired
	private FileManagementDao fileManagementDao;
	
	@Override
	public FileManagementEntity queryObject(Integer id){
		return fileManagementDao.queryObject(id);
	}
	
	@Override
	public List<FileManagementEntity> queryList(Map<String, Object> map){
		return fileManagementDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return fileManagementDao.queryTotal(map);
	}
	
	@Override
	public void save(FileManagementEntity fileManagement){
		fileManagementDao.save(fileManagement);
	}

	@Override
	public void update(FileManagementEntity fileManagement){
		fileManagementDao.update(fileManagement);
	}
	
	@Override
	public void delete(Integer id){
		fileManagementDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		fileManagementDao.deleteBatch(ids);
	}
	
}
